extends MeshInstance

# Declare member variables here. Examples:
# var a = 2
# var b = "text"

# Called when the node enters the scene tree for the first time.
func _ready():
	#print("sky is ready")
	visible=true
	#scale = Vector3(1,200,100)
	var tw = Tween.new()
#	tw.interpolate_property(self,"scale",scale,Vector3(100,200,100),60,Tween.TRANS_CUBIC,Tween.EASE_IN_OUT)
#	add_child(tw)
#	tw.start()
#	var s = self
#	var rid = mesh.get_rid()
#	var rid2 = get_surface_material(0).get_rid()
	#var rid = RID(s)
	#print (rid.get_id())
	#print (rid.get_id())
#	VisualServer.instance_geometry_set_draw_range(rid,0,1000000,1,1)
#	VisualServer.instance_geometry_set_draw_range(rid2,0,1000000,1,1)
